package com.databasir.core.render;


import com.databasir.core.meta.data.DatabaseMeta;
import com.databasir.core.render.markdown.MarkdownTemplateRender;

import java.io.IOException;
import java.io.OutputStream;
import java.sql.SQLException;

public interface Render {

  void rendering(DatabaseMeta meta, OutputStream out) throws SQLException, IOException;

  static Render markdownRender(RenderConfig configuration){

   return new MarkdownTemplateRender(configuration);

  }

}
